package com.zgtp.entity;

import com.fasterxml.jackson.annotation.JsonFormat;


import java.util.Date;
import java.util.List;

/**
 * @author e-fan.yang12
 */

public class ProductTrackHistory {
    /**
     * 序号
     */
    private Long id;
    /**
     * 工厂编号
     */
    private String siteCode;
    /**
     * 产品跟踪号（PTN号）
     */
    private String productTrackNum;
    /**
     * 产品生产管理号
     */
    private String productSeqNum;
    /**
     * 产品标识号（VIN号）
     */
    private String productNum;
    /**
     * RFID
     */
    private String container;
    /**
     * 当前工序编号
     */
    private String operationCode;
    /**
     * 当前站点
     */
    private String stationCode;
    /**
     * 物料编号
     */
    private  String materialCode;

    /**
     * 物料描述
     */
    private String materialText;

    /**
     * 工单编号
     */
    private String workOrderNum;

    /**
     * 订单编号
     */
    private String productionOrderNum;

    /**
     * 当前报工人
     */
    private String confirmUser;
    /**
     * 当前报工时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date confirmDateTime;
    /**
     * 当前状态
     */
    private String statuesCode;
    /**
     * 报废标识
     */
    private Integer scrapFlag;
    /**
     * 冻结标识
     */
    private Integer freezeFlag;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss" )
    private Date createDateTime;
    /**
     * 修改人
     */
    private String modifyUser;
    /**
     * 修改时间
     */
    private Date modifyDateTime;
    /**
     * 备注
     */
    private String memo;

    /**
     * 工作中心编号
     */
    private String workCenterCode;

    /**
     * 车系
     */
    private String series;

    /**
     * 数据来源
     */
    private String source;
    /**
     * 数量
     */
    private float quantity;
    /**
     * 车型
     */
    private String model;

    /**
     * 发动机号
     */
    private String engineNo;


    /**
     * 配置
     */
    private String config;

    /**
     * 选装
     */
    private String selection;

    private String topColor;

    private String trimColor;

    private String bodyColor;

    private String eCodeText;

    private String stationText;

    //订单类型描述
    private String typeText;

    /**
     * 实际作业时间
     */
    private Long actualOperationTime;

    private List<ProductTrackHistory> productTrackHistoryList;

    private String languageCode;
    private Date createDate;
    private Date modifyDate;

    /**
     * 站点队列顺序号
     */
    private String queueSeqNum;

    public ProductTrackHistory(){

    };

    public ProductTrackHistory(Long id, String siteCode, String productTrackNum, String productSeqNum, String productNum, String container, String operationCode, String stationCode, String materialCode, String workOrderNum, String productionOrderNum, String confirmUser, Date confirmDateTime, String statuesCode, Integer scrapFlag, Integer freezeFlag, String createUser, Date createDateTime, String memo) {

        this.id = id;
        this.siteCode = siteCode;
        this.productTrackNum = productTrackNum;
        this.productSeqNum = productSeqNum;
        this.productNum = productNum;
        this.container = container;
        this.operationCode = operationCode;
        this.stationCode = stationCode;
        this.materialCode = materialCode;
        this.workOrderNum = workOrderNum;
        this.productionOrderNum = productionOrderNum;
        this.confirmUser = confirmUser;
        this.confirmDateTime = confirmDateTime;
        this.statuesCode = statuesCode;
        this.scrapFlag = scrapFlag;
        this.freezeFlag = freezeFlag;
        this.createUser = createUser;
        this.createDateTime = createDateTime;
        this.memo = memo;
    }

}
